package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 停电且退服（测试一下，确认后删除此注释）对象 t_tingdian_tuifu
 * 
 * @author ruoyi
 * @date 2021-12-10
 */
public class TTingdianTuifu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private String id;

    /** 退服日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退服日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tuifuTime;

    /** 告警发生地市 */
    @Excel(name = "告警发生地市")
    private String city;

    /** 网元名称 */
    @Excel(name = "网元名称")
    private String neName;
    
    /** 站址编码 */
    @Excel(name = "站址编码")
    private String zhanziCode;

    /** 是否需要发电 */
    @Excel(name = "是否需要发电")
    private String isneedFaidtian;

    /** 是否发电 */
    @Excel(name = "是否发电")
    private String isFadian;

    /** 是否与运营商确认不发电（未起租和有备电且超过计划停电时间填写是） */
    @Excel(name = "是否与运营商确认不发电", readConverterExp = "未=起租和有备电且超过计划停电时间填写是")
    private String isNoFadian;

    /** 不发电原因 */
    @Excel(name = "不发电原因分类")
    private String noFadianReason;

    /** 不需要发电原因 */
    @Excel(name = "不需要发电原因")
    private String noNeedFadianReason;

    /** 所属运营商 */
    @Excel(name = "所属运营商")
    private String operator;
    
    public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	/** 修改原因时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reasonTime;

    /** 修改原因人 */
    private String reasonBy;

    /** 主内容修改次数 */
    private Long mainCurrentCount;

    /** 原因修改次数 */
    private Long curentCount;

    /** 版本 */
    private String version;

    /** 版本  查询开始时间 */
    private String versionbegin;

    /** 版本  查询结束时间 */
    private String versionend;

    /** 错误信息 */
    private String errormessage;

    public void setTuifuTime(Date tuifuTime) 
    {
        this.tuifuTime = tuifuTime;
    }

    public Date getTuifuTime() 
    {
        return tuifuTime;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setZhanziCode(String zhanziCode) 
    {
        this.zhanziCode = zhanziCode;
    }

    public String getZhanziCode() 
    {
        return zhanziCode;
    }
    public void setIsneedFaidtian(String isneedFaidtian) 
    {
        this.isneedFaidtian = isneedFaidtian;
    }

    public String getIsneedFaidtian() 
    {
        return isneedFaidtian;
    }
    public void setIsFadian(String isFadian) 
    {
        this.isFadian = isFadian;
    }

    public String getIsFadian() 
    {
        return isFadian;
    }
    public void setIsNoFadian(String isNoFadian) 
    {
        this.isNoFadian = isNoFadian;
    }

    public String getIsNoFadian() 
    {
        return isNoFadian;
    }
    public void setNoFadianReason(String noFadianReason) 
    {
        this.noFadianReason = noFadianReason;
    }

    public String getNoFadianReason() 
    {
        return noFadianReason;
    }
    public void setNoNeedFadianReason(String noNeedFadianReason) 
    {
        this.noNeedFadianReason = noNeedFadianReason;
    }

    public String getNoNeedFadianReason() 
    {
        return noNeedFadianReason;
    }
    public void setReasonTime(Date reasonTime) 
    {
        this.reasonTime = reasonTime;
    }

    public Date getReasonTime() 
    {
        return reasonTime;
    }
    public void setReasonBy(String reasonBy) 
    {
        this.reasonBy = reasonBy;
    }

    public String getReasonBy() 
    {
        return reasonBy;
    }
    public void setMainCurrentCount(Long mainCurrentCount) 
    {
        this.mainCurrentCount = mainCurrentCount;
    }

    public Long getMainCurrentCount() 
    {
        return mainCurrentCount;
    }
    public void setCurentCount(Long curentCount) 
    {
        this.curentCount = curentCount;
    }

    public Long getCurentCount() 
    {
        return curentCount;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getVersionbegin() {
        return versionbegin;
    }

    public void setVersionbegin(String versionbegin) {
        this.versionbegin = versionbegin;
    }

    public String getVersionend() {
        return versionend;
    }

    public void setVersionend(String versionend) {
        this.versionend = versionend;
    }

    public String getErrormessage() {
        return errormessage;
    }

    public void setErrormessage(String errormessage) {
        this.errormessage = errormessage;
    }
    

    public String getNeName() {
		return neName;
	}

	public void setNeName(String neName) {
		this.neName = neName;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tuifuTime", getTuifuTime())
            .append("operator", getOperator())
            .append("neName", getNeName())
            .append("city", getCity())
            .append("zhanziCode", getZhanziCode())
            .append("isneedFaidtian", getIsneedFaidtian())
            .append("isFadian", getIsFadian())
            .append("isNoFadian", getIsNoFadian())
            .append("noFadianReason", getNoFadianReason())
            .append("noNeedFadianReason", getNoNeedFadianReason())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("reasonTime", getReasonTime())
            .append("reasonBy", getReasonBy())
            .append("remark", getRemark())
            .append("mainCurrentCount", getMainCurrentCount())
            .append("curentCount", getCurentCount())
            .append("version", getVersion())
            .toString();
    }
}
